<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户登录</title>
<script src="./View/Admin/script/jquery.js" type="text/javascript"></script> 
<link href="./View/Admin/css/login.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
function fnOnSubmit(form) {
	if (form.username.value == '' || form.password.value == '') {
		alert('必须输入用户名和密码才能登录');
		return false;
	}
	return true;
}
</script>
</head>
<body>
<div id="window">
  <div id="content">
    <h1>{{$siteInfo.appTitle}}</h1>
    <div id="form">
	<img src="./View/Admin/images/login-title.gif" />
	<font color="#FF0000">{{$msn}}</font>
      <form name="form1" id="form1" method="post" action="admin.php?controller=Admin_Login&action=Login" onsubmit="return fnOnSubmit(this);">
        用户名：<input  type="text" name="username" value="{{$username}}" size="22" />
        <br />
        密&nbsp; 码：
        <input type="password" name="password" id="password" value="{{$password}}" size="22" />
        <br />
        <!--<label>验证码：</label>
        <img src="admin.php?controller=Admin_Login&action=imgcode" /><br />
		<input type="text" name="imgcode" size="22" /><br />
        --><input name="login" type="submit" id="login" value="登录" class="button" />
      </form>
    </div>
  </div>
</div>
</body>
</html>
